package com.gc.server.enums;

import lombok.Getter;


/**
 * @author hxf
 * @email 505860922@qq.com
 * @date Thu Mar 12 15:17:52 CST 2020
 */
@Getter
public enum TodoTypeEnum {


    //代表
    VISIT(0, "药店拜访"),

    SEND(1, "试用装发放"),

    ACT(2, "促销活动"),
    // 主管
    VISIT_HELP(3, "药店帮带"),

    SEND_HELP(4, "试用装帮带"),

    ACT_HELP(5, "活动帮带"),

    HEAD(6, "总部拜访"),

    LINK(7,"连锁开发"),

    HUNT(8,"人员招聘"),

    OTHER(9,"其它");


    int index;
    String value;

    TodoTypeEnum(int index, String value) {
        this.index = index;
        this.value = value;
    }

    public static String indexOf(int idx) {
        return TodoTypeEnum.values()[idx].getValue();
    }

}
